package com.ithema.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ithema.domain.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository//将到层设置为仓库组建，可以在springboot启动配置类中手动扫描添加上
@Mapper   //映射器配置自动生成代理类
public interface UserDao extends BaseMapper<User> {
    List<User> select_all();
}
